/**
 * Copyright (C), 2019-2022, 宇信融汇
 * FileName: PayContext
 * Author:   666
 * Date:     2022/4/27 19:55
 * Description:
 * History:
 * <author>          <time>          <version>          <desc>
 * 666           修改时间           版本号              描述
 */
package com.strategy.checkmoney;

/**
 * @Classname PayContext
 * @Description TODO
 * @Date 2022/4/27 19:55
 * @Created by 666
 */
public class PayContext {
    private String userName;
    private double money;
    private PayStrategy payStrategy;

    public PayContext(String userName, double money, PayStrategy payStrategy) {
        this.userName = userName;
        this.money = money;
        this.payStrategy = payStrategy;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }
}
